home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 10 / CU Amiga Magazine's Super CD-ROM 10 (1997-03-15)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-05][50887 CUAM10].iso / CUCD / Graphics / SuperViewEL / Install_SuperView < prev    next >
Text File  |  1997-02-27  |  4KB  |  121 lines

  1. ; $VER: Install_SuperView.script V5.72 (11.1.97)
  2. ; © 1993-97 by Andreas R. Kleinert.
  3. ; Italian strings by Alessandro Basso (cralex@amiga.dei.unipd.it)
  4.  
  5.  
  6. (set @app-name "SuperView")
  7. (welcome "SuperView Installation")
  8.  
  9.  
  10. ; *** english is default language
  11.  
  12.     (set #Msg_wrong_OS       (cat "You need at least AmigaOS V2.04 to run SuperView !\n\n"
  13.                                   "SuperView will not run with your system configuration !"))
  14.     (set #Msg_InstallingSuperView "Installing SuperView now. Libraries have to be installed separately !")
  15.     (set #Msg_SelectPath          "Select path to install SuperView to")
  16.     (set #Msg_InstallingCatalogs  "Installing Catalog-Files for OS V2.1+\nCode localization.")
  17.     (set #Msg_SelectCatalogPath   "Select path to install Catalogs to")
  18.     (set #Msg_SuperViewPath       "Now modifying your S:User-Startup for a search path...")
  19.     (set #Msg_CopyPalette         "Copy SuperViewPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
  20.     (set #Msg_RunLibInstaller     "Now install Library ?")
  21.     (set #Msg_DoInstallSuperView  "SuperView has been installed.")
  22.  
  23.  
  24. (if (= @language "deutsch")
  25.   (
  26.     (set #Msg_wrong_OS       (cat "Sie benötigen mindestens AmigaOS V2.04 für SuperView !\n\n"
  27.                                   "SuperView wird auf Ihrem System nicht laufen !"))
  28.     (set #Msg_InstallingSuperView "Installiere jetzt SuperView. Die Libraries müssen separat installiert werden !")
  29.     (set #Msg_SelectPath          "Wählen Sie das Zielverzeichnis für SuperView")
  30.     (set #Msg_InstallingCatalogs  "Installiere jetzt die Katalog-Dateien für die\nOS V2.1+ Sprach-Unterstützung.")
  31.     (set #Msg_SelectCatalogPath   "Wählen Sie den Pfad für die Katalog-Dateien")
  32.     (set #Msg_SuperViewPath       "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
  33.     (set #Msg_CopyPalette         "SuperViewPalette nach SYS:WBStartup kopieren ?\n(Nicht mit MagicWB, etc.)")
  34.     (set #Msg_RunLibInstaller     "Jetzt Library installieren ?")
  35.     (set #Msg_DoInstallSuperView  "SuperView wurde installiert.")
  36.   )
  37. )
  38.  
  39. (if (= @language "italiano")
  40.   (
  41.     (set #Msg_wrong_OS       (cat "Ti serve almeno AmigaOS V2.04 per usare SuperView !\n\n"
  42.                                   "SuperView non funzionerà con la tua configurazione di sistema !"))
  43.     (set #Msg_InstallingSuperView "Ora installo SuperView. Le Librerie dovranno essere installate separatamente !")
  44.     (set #Msg_SelectPath          "Seleziona il percorso dove installare SuperView")
  45.     (set #Msg_InstallingCatalogs  "Installo File-Catalogo per OS V2.1+\nLocalizzazione del Codice.")
  46.     (set #Msg_SelectCatalogPath   "Seleziona percorso in cui installare i Cataloghi")
  47.     (set #Msg_SuperViewPath       "Ora modifico la tua S:User-Startup per il percorso di ricerca...")
  48.     (set #Msg_CopyPalette         "Copio SuperViewPalette in SYS:WBStartUp ?\n(Non con MagicWB, ecc.)")
  49.     (set #Msg_RunLibInstaller     "Installo ora le Librerie ?")
  50.     (set #Msg_DoInstallSuperView  "SuperView è stato installato.")
  51.   )
  52. )
  53.  
  54. (set #OS_VER (/ (getversion) 65536) )
  55.  
  56. (if(< #OS_VER 37)
  57.   (abort #Msg_wrong_OS)
  58. )
  59.  
  60. (complete 0)
  61.  
  62. (copyfiles
  63.   (prompt #Msg_Installing)
  64.   (help @copyfiles-help)
  65.   (source "")
  66.   (set #svcomdir
  67.               (askdir
  68.                      (prompt #Msg_SelectPath)
  69.                      (help @askdir-help)
  70.                      (newpath)
  71.                      (default "SYS:SuperView")
  72.               )
  73.   )
  74.   (dest #svcomdir)
  75.   (all)
  76.   (confirm)
  77. )
  78.  
  79. (complete 70)
  80.  
  81. (copyfiles
  82.   (prompt #Msg_InstallingCatalogs)
  83.   (help @copyfiles-help)
  84.   (source "locale/catalogs")
  85.   (set #svcomdir
  86.               (askdir
  87.                      (prompt #Msg_SelectCatalogPath)
  88.                      (help @askdir-help)
  89.                      (newpath)
  90.                      (default "SYS:locale/Catalogs")
  91.               )
  92.   )
  93.   (dest #svcomdir)
  94.   (all)
  95.   (confirm)
  96. )
  97.  
  98. (copyfiles
  99.   (prompt #Msg_CopyPalette)
  100.   (help @copyfiles-help)
  101.   (source "Tools")
  102.   (dest "SYS:WBStartup")
  103.   (pattern "SuperViewPalette#?")
  104.   (confirm)
  105. )
  106.  
  107. (startup "SuperView"
  108.   (prompt #Msg_SuperViewPath)
  109.   (help @startup-help)
  110.   (command "Path "#svcomdir" ADD\n")
  111. )
  112.  
  113. (makeassign "IPROGDIR" "PROGDIR:" (safe))
  114. (set @execute-dir "SuperViewLibrary")
  115. (run (safe) "IPROGDIR:Installer Install_SVLib")
  116. (makeassign "IPROGDIR" "" (safe))
  117.  
  118. (complete 99)
  119.  
  120. (exit #Msg_DoInstallSuperView)
  121.